package com.holyn.guofang.model.webhttp.wo;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Holyn on 2017/6/23.
 */

public class ImagePartitionWo implements Serializable {
    private static final long serialVersionUID = 11112222L;

    /**
     * status : 1
     * url : http://119.145.147.170:88/IdentImg/Src/5faf308ffa4c453fb4501ada2ec18ee8.jpg
     * SrcImgID : 5faf308ffa4c453fb4501ada2ec18ee8
     * data : {"url":"http://119.145.147.170:88/IdentImg/Partition/ColNum_5825af3ce2e3435db7a9aaf7f4a25664.jpg","count":10,"color":[{"ColorID":"1","ColorData":"#000000"},{"ColorID":"2","ColorData":"#800000"},{"ColorID":"3","ColorData":"#00FF00"},{"ColorID":"4","ColorData":"#0000FF"},{"ColorID":"5","ColorData":"#FF0080"},{"ColorID":"6","ColorData":"#800080"},{"ColorID":"7","ColorData":"#408080"},{"ColorID":"8","ColorData":"#FFFF00"},{"ColorID":"9","ColorData":"#FF0000"},{"ColorID":"10","ColorData":"#00FFFF"}],"defcount ":2,"defimage":[{"DefID":"1","FileName":"def_1_5825af3ce2e3435db7a9aaf7f4a25664.jpg","DefImageUrl":"http://119.145.147.170:88/IdentImg/Partition/def_1_5825af3ce2e3435db7a9aaf7f4a25664.jpg"},{"DefID":"2","FileName":"def_2_5825af3ce2e3435db7a9aaf7f4a25664.jpg","DefImageUrl":"http://119.145.147.170:88/IdentImg/Partition/def_2_5825af3ce2e3435db7a9aaf7f4a25664.jpg"}]}
     */

    private int status;
    private String url;
    private String SrcImgID;
    private DataBean data;
    private String err;

    public String getErr() {
        return err;
    }

    public void setErr(String err) {
        this.err = err;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSrcImgID() {
        return SrcImgID;
    }

    public void setSrcImgID(String SrcImgID) {
        this.SrcImgID = SrcImgID;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * url : http://119.145.147.170:88/IdentImg/Partition/ColNum_5825af3ce2e3435db7a9aaf7f4a25664.jpg
         * count : 10
         * color : [{"ColorID":"1","ColorData":"#000000"},{"ColorID":"2","ColorData":"#800000"},{"ColorID":"3","ColorData":"#00FF00"},{"ColorID":"4","ColorData":"#0000FF"},{"ColorID":"5","ColorData":"#FF0080"},{"ColorID":"6","ColorData":"#800080"},{"ColorID":"7","ColorData":"#408080"},{"ColorID":"8","ColorData":"#FFFF00"},{"ColorID":"9","ColorData":"#FF0000"},{"ColorID":"10","ColorData":"#00FFFF"}]
         * defcount  : 2
         * defimage : [{"DefID":"1","FileName":"def_1_5825af3ce2e3435db7a9aaf7f4a25664.jpg","DefImageUrl":"http://119.145.147.170:88/IdentImg/Partition/def_1_5825af3ce2e3435db7a9aaf7f4a25664.jpg"},{"DefID":"2","FileName":"def_2_5825af3ce2e3435db7a9aaf7f4a25664.jpg","DefImageUrl":"http://119.145.147.170:88/IdentImg/Partition/def_2_5825af3ce2e3435db7a9aaf7f4a25664.jpg"}]
         */

        private String url;
        private int count;
        private int defcount;
        private List<ColorBean> color;
        private List<DefimageBean> defimage;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getDefcount() {
            return defcount;
        }

        public void setDefcount(int defcount) {
            this.defcount = defcount;
        }

        public List<ColorBean> getColor() {
            return color;
        }

        public void setColor(List<ColorBean> color) {
            this.color = color;
        }

        public List<DefimageBean> getDefimage() {
            return defimage;
        }

        public void setDefimage(List<DefimageBean> defimage) {
            this.defimage = defimage;
        }

        public static class ColorBean {
            /**
             * ColorID : 1
             * ColorData : #000000
             */

            private String ColorID;
            private String ColorData;

            public String getColorID() {
                return ColorID;
            }

            public void setColorID(String ColorID) {
                this.ColorID = ColorID;
            }

            public String getColorData() {
                return ColorData;
            }

            public void setColorData(String ColorData) {
                this.ColorData = ColorData;
            }
        }

        public static class DefimageBean {
            /**
             * DefID : 1
             * FileName : def_1_5825af3ce2e3435db7a9aaf7f4a25664.jpg
             * DefImageUrl : http://119.145.147.170:88/IdentImg/Partition/def_1_5825af3ce2e3435db7a9aaf7f4a25664.jpg
             */

            private String DefID;
            private String FileName;
            private String DefImageUrl;

            public String getDefID() {
                return DefID;
            }

            public void setDefID(String DefID) {
                this.DefID = DefID;
            }

            public String getFileName() {
                return FileName;
            }

            public void setFileName(String FileName) {
                this.FileName = FileName;
            }

            public String getDefImageUrl() {
                return DefImageUrl;
            }

            public void setDefImageUrl(String DefImageUrl) {
                this.DefImageUrl = DefImageUrl;
            }
        }
    }
}
